package com.itheima.dao;


import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户Mapper
 */
public interface UserMapper {

    List<User> selectAll();

    void save(@Param("username") String username, @Param("password") String password);

    User findByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
